package com.grao.waterschool.human.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.grao.waterschool.human.entiry.po.OdsPksj;
import com.grao.waterschool.human.entiry.vo.CourseListInfo;
import com.grao.waterschool.human.entiry.vo.JsVo;
import com.grao.waterschool.human.entiry.vo.KcVo;
import com.grao.waterschool.human.entiry.vo.SelectCourseCriteria;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OdsPksjMapper extends BaseMapper<OdsPksj> {

    List<CourseListInfo> selectCourseList(SelectCourseCriteria selectCourseCriteria);

    OdsPksj getLesson(String lessonName);

    OdsPksj getLessonInfo(String lessonName);

    void customBatchInsert(List<OdsPksj> odsPksjList);

    int checkTableIsEmpty();

    void truncateTable();

    List<String> getZCList();

    List<String> getJSHList();

    List<JsVo> getJGHList();

    List<KcVo> getKCHList();

    List<String> getYxList();
}
